package com.xuan.yuapiclientsdk.utils;

import org.springframework.util.DigestUtils;

public class SignUtils {
    private static final String salt = "xuancccccccccc";

    public static String getSign(String jsonStr, String secretKey) {
        return DigestUtils.md5DigestAsHex((jsonStr + salt + secretKey).getBytes());
    }
}
